<?php


namespace app\models\Project_1_0;
use Core\Model;

class Add extends Model
{
    /**
     * 添加案件
     * @param $c_id
     * @param $Name
     * @param $dealer
     * @param $receive_date
     * @param $finish_date
     * @param $except_date
     * @param $status
     * @return mixed
     */
    function newAdd($c_id,$Name,$dealer,$receive_date,$finish_date,$except_date,$status){
        $sql = "insert into t_case(c_id,Name,dealer,receive_date,finish_date,except_date,status)VALUE ('$c_id','$Name','$dealer','$receive_date','$finish_date','$except_date','$status')";
        return $this->db->fetch_sql($sql);
    }
}